﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rapid.Core.Aop
{
    internal static class TransparentProxy
    {
        internal static T Create<T>() where T : AopTarget, new()
        {
            return new ServiceProxy<T>(new T()).GetTransparentProxy() as T;
        }
    }
}